import request from '@/utils/request'
// -------------登录------------

// 获取验证码
export const getInvitedGetCodeApi = (data) => {

    return request({
        url: `/captchaMobile?mobile=${data.phone}`,
        method: 'post',
        // data
    })
}


// 二维码注册
export const getInvitedQrcodeRegisterApi = (data) => {

    return request({
        url: `qrcodeRegister`,
        method: 'POST',
        data
    })
}


// -------------协议------------

//分页查询
export const getDocRichTextApi = (params) => {
    return request({
        url: `/doc/richText/list`,
        method: 'get',
        params
    })
}
